package com.android.djlmapp.listener.webinterface;

import android.webkit.JavascriptInterface;

import com.android.djlmapp.listener.webcallback.BuyPhoneActionCallBack;

public class BuyPhoneWebInterface {

    private BuyPhoneActionCallBack callBack;

    public BuyPhoneWebInterface(BuyPhoneActionCallBack callBack) {
        this.callBack = callBack;
    }

    @JavascriptInterface
    public void add_money() {
        callBack.add_money();
    }

    @JavascriptInterface
    public void phone_card(String json) {
        callBack.phone_card(json);
    }

}
